package org.changneng.framework.frameworkbusiness.service;

import org.changneng.framework.frameworkbusiness.entity.Dept;

import java.util.List;

public interface DeptService {

    //添加部门
    int insert(Dept dept);

    //查询部门
    List<Dept> selectAll();

    int delete(int deptno);

    int update(Dept dept);
}
